//package org.itzixi;
//
//import jakarta.annotation.Resource;
//import lombok.extern.slf4j.Slf4j;
//import org.itzixi.utils.SMSUtils;
//import org.springframework.beans.factory.annotation.Autowired;
//import org.springframework.scheduling.annotation.Async;
//import org.springframework.stereotype.Component;
//
//@Component
//@Slf4j
//public class SMSTask {
//    @Resource
//    private SMSUtils smsUtils;
//
//    @Async
//    public void sendSMSInTask(String mobile, String code) throws Exception {
//        smsUtils.sendSMS(mobile, code);
//        log.info("Send SMS to {} with code {}", mobile, code);
//    }
//}
